<%@ include file="isComm.jsp"%>
<%@ page import="java.util.*,database.*" %>
<%
Enumeration en = request.getParameterNames();
String stdId = (String)en.nextElement();
DBCon db = new DBCon();
db.updateStudentsProject("null", " where id = "+stdId);
String[] students = request.getParameterValues(stdId);
for(String i : students)
{
    if(!i.equals(""))
        db.updateStudentsProject(i, " where id = "+stdId);
}
response.sendRedirect("dragAssign_1.jsp?stdID="+stdId);

%>